onEvent('recipes', event => {
    let ingots = ['copper', 'bronze', 'tin', 'aluminum', 'silver', 'lead', 'nickel', 'zinc', 'brass', 'invar',
        'steel', 'constantan', 'gold', 'uranium', 'osmium', 'cobalt', 'iridium', 'electrum', 'signalum', 'lumium',
        'enderium', 'iron', 'cast_iron', 'osmium'];
    let mod = 'emendatusenigmatica';

    ingots.forEach((i) => {
        event.recipes.thermal.press(`emendatusenigmatica:${i}_plate`, [`#forge:ingots/${i}`
            , 'immersiveengineering:mold_plate']);
        event.recipes.thermal.press(`emendatusenigmatica:${i}_rod`, [`#forge:plates/${i}`
            , 'immersiveengineering:mold_rod']);

        event.recipes.thermal.press(`emendatusenigmatica:${i}_gear`, [`4x #forge:ingots/${i}`
            , 'thermal:press_gear_die']);
        //'4x emendatusenigmatica:signalum_ingot'
        //'emendatusenigmatica:enderium_gear'
    });

    let gens = ['diamond', 'emerald', 'lapis'];
    gens.forEach((i) => {
        event.recipes.thermal.press(`emendatusenigmatica:${i}_plate`, [`#forge:gems/${i}`
            , 'immersiveengineering:mold_plate']);
        event.recipes.thermal.press(`emendatusenigmatica:${i}_rod`, [`#forge:plates/${i}`
            , 'immersiveengineering:mold_rod']);

        event.recipes.thermal.press(`emendatusenigmatica:${i}_gear`, [`4x #forge:gems/${i}`
            , 'thermal:press_gear_die']);
    });

    let steel = ['copper', 'electrum', 'aluminum', 'lead', 'steel'];
    steel.forEach((i) => {
        event.recipes.thermal.press(`8x immersiveengineering:wire_${i}`, [`#forge:plates/${i}`, 'immersiveengineering:mold_wire']);
    });

    event.recipes.thermal.press('immersiveengineering:graphite_electrode', ['4x immersiveengineering:ingot_hop_graphite', 'immersiveengineering:mold_rod']);

    event.recipes.thermal.press('minecraft:blaze_rod', ['8x minecraft:blaze_powder', 'immersiveengineering:mold_rod']);

    // {
    //     output: 'emendatusenigmatica:osmium_chunk',
    //     input: 'quark:violet_crystal'
    // },
    event.recipes.thermal.pulverizer(['draconicevolution:draconium_dust',Item.of('emendatusenigmatica:osmium_chunk').withChance(0.5)], 'quark:violet_crystal');


});